package cn.codergege.demo.controller

import cn.codergege.demo.entity.User
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@RestController
@RequestMapping("json")
class JsonController {
    @GetMapping("/testJson")
    fun testJson(): Any {
        return User(null, "111111", "11111112222")
    }
}